class SendPointsBody {
  String? phone;
  String? countryCode;
  int? amount;

  SendPointsBody({
    this.phone,
    this.countryCode,
    this.amount,
  });

  SendPointsBody.fromJson(Map<String, dynamic> json) {
    phone = json['phone'];
    countryCode = json['country_code'];
    amount = json['amount'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['phone'] = this.phone;
    data['country_code'] = this.countryCode;
    data['amount'] = this.amount;

    return data;
  }
}
